package com.linx.notice.domain.bo;

import com.linx.notice.domain.InfoRealeaseDraft;
import com.linx.common.core.validate.AddGroup;
import com.linx.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 信息发布草稿箱业务对象 info_realease_draft
 *
 * @author 泽智科技
 * @date 2024-10-21
 */
@Data
@AutoMapper(target = InfoRealeaseDraft.class, reverseConvertGenerate = false)
public class InfoRealeaseDraftBo {

    /**
     * 主键
     */
    private Long infoRealeaseDraftId;

    /**
     * 标题
     */
    private String infoTitle;

    /**
     * 分类
     */
    private Long infoTypeId;

    /**
     * 发布范围
     */
    private Long infoScopeId;

    /**
     * 发布时间类型 1 立即发生 2 定时发送
     */
    private String releaseType;

    /**
     * 发布时间
     */
    private Date releaseTime;

    /**
     * 信息头图
     */
    private String infoHeaderPicUrl;

    /**
     *
     */
    private String infoContent;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
